package com.example.springsecurity.domain;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;
import org.apache.ibatis.type.Alias;

/**
 * @ClassName NoticeUser
 * @Description TODO  用户通知关联表
 * @Author lvyongwei
 * @Date 2020-09-24 17:42
 **/
@Data
@Alias("noticeUser")
@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
public class NoticeUser {

    /**
     * 通知id
     */
    private Long noticeId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 是否已读
     */
    private Integer ifRead;
}
